package com.hqyj.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 支出表
 * </p>
 *
 * @author rock
 * @since 2021-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Expenditure extends Page implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "expenditure_id", type = IdType.AUTO)
    private Integer expenditureId;

    private BigDecimal expenditureMoney;

//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expenditureTime;

    @TableField(exist = false)
    private String extime;


    private Integer sysId;

    private String beizhu;

    @TableField(exist = false)
    private User user;

}
